package org.example.test.model;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;

@Data
public class ProductModel {

    private Long id;
    private String name;
    private double price;
    private int stock;
    private String description;
    private Long category;
    private Long user;
    private LocalDateTime createdAt;
    private MultipartFile image;  // 图片文件

}

